package core;

public class CharCount {
	
	private char _c;
	private int _count;
	
	public CharCount(char c,int count) {
		_c = c;
		_count = count;
	}

	public char get_c() {
		return _c;
	}

	public void set_c(char _c) {
		this._c = _c;
	}

	public int get_count() {
		return _count;
	}

	public void set_count(int _count) {
		this._count = _count;
	}
	
	public String toString() {
		return _c + "=" + _count;
	}
	
	public void inc() {
		_count++;
	}
}
